package com.zx.erp.repo.bean;

import com.zx.erp.purchase.bean.CBrand;
import com.zx.erp.purchase.bean.CFirm;
import com.zx.erp.purchase.bean.CProduct;
import com.zx.erp.purchase.bean.CType;
import lombok.Data;

import java.io.Serializable;

/**
 * 库存
 * kc_warehouse
 *
 * @author Jerry
 */
@Data
public class KcWarehouse implements Serializable {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 仓库id
     */
    private Integer warehouseId;

    /**
     * 品牌id
     */
    private Integer brandId;

    /**
     * 类型id
     */
    private Integer typeId;

    /**
     * 厂商id
     */
    private Integer factoryId;

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * 库存数量
     */
    private Integer repertory;

    /**
     * 订单详情编号
     */
    private Integer orderdetatlsId;

    private static final long serialVersionUID = 1L;

    // 自定义属性
    // 仓库
    private Warehouse warehouse;
    // 品牌
    private CBrand brand;
    // 类型
    private CType cType;
    // 厂商
    private CFirm cFirm;
    // 商品
    private CProduct product;
//————————————————
    // 品牌
    private CBrand cBrand;
    // 商品
    private CProduct cProduct;

}